<template>
	<view>
		<baseDetails :baseinfo="baseinfo"></baseDetails>
	</view>
</template>

<script lang="ts" setup>
	import baseDetails from '@/components/baseDetails.vue';
	import { onLoad } from "@dcloudio/uni-app";
	import { ref } from "vue";
	import { qxHomebaseManageQueryById } from '@/config/index.api';

	const baseinfo = ref();

	onLoad(async (params) => {
		console.log(params, 'params');
		const res = await qxHomebaseManageQueryById({ id: params?.id });
		baseinfo.value = res;

	})
</script>

<style lang="scss" scoped>
	::v-deep .index_base {
		top: 0 !important;
	}
</style>